package com.wzc.hc.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName meeting_room
 */
@TableName(value = "meeting_room")
@Data
public class MeetingRoom implements Serializable {

    @TableId
    private String siteId;

    @NotBlank(message = "Name is mandatory")
    private String siteName;

    @NotNull(message = "Start time is mandatory")
    private Date startTime;

    private Date closingTime;

    private Integer hourlyFee;

    private String keeper;

    private Long keeperPhone;

    private String state;

    @TableLogic
    private Integer isDeleted;

    private Date gmtCreate;

    private Date gmtModified;

    private String dayOfWeek;

    @NotNull(message = "End time is mandatory")
    private String endTime;

    private static final long serialVersionUID = 1L;
}